<?php
$db = DB::getInstance();

$sql = "SELECT * FROM `apocy_recipes` WHERE id IN({$recipesIdString})";

$data['recipesResult'] = $db->query($sql)->results();